package com.example.springboot_11_jpa.repository;

import com.example.springboot_11_jpa.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @auther cangshufeilun
 * @date 2022/4/6 20:46
 */
public interface UserRepository extends JpaRepository<User,Long> {
    public List<User> findByUserNameOrEmail(String username, String email);
}
